FROM registry.cn-hangzhou.aliyuncs.com/wjn0918/soft:openjdk-8-jre-alpine
RUN apk update && \
    apk add --no-cache python3 py3-pip && \
    ln -sf python3 /usr/bin/python
COPY ./datax /opt/datax
ENTRYPOINT ["python", "/opt/datax/bin/datax.py"]